09-03-2013
Updating git clones
Hi,
I'm fairly new to the git command and I'm trying to figure out how to check if your local clone is up to date with the master. I know you can do the same thing on packages with apt-get by using update and then upgrade. Is there something similar with git?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
2. Programming
Hi,
I have a methode creating several clones with the following flags: CLONE_VM | CLONE_THREAD | CLONE_SIGHAND
How to tell the parent process to wait for the clones' completion?
pid = clone( ...)
waitpid(pid, NULL , 0) always returns me -1
waitpid(-1, NULL, 0) does the same. (1 Reply)
Discussion started by: The-Forgotten
1 Replies
3. Solaris
The Storage Admin presents a clone of a LUN, on the source side the device is under VxVM control, assuming that on the target side we have scanned the new cloned LUN at the OS level (solairs), from there on how do we initialize and mount the new volume.
Please give some guidence on this or a... (1 Reply)
Discussion started by: Tirmazi
1 Replies
4. Solaris
I need to be able to run git commands on a solaris 10 box, the git server is a Linux rh 6.9 , but I can not find much info out there on a git client for solaris 10.
Is it just a pkgadd, or and install tar? or is there even any support for Solaris 10 git? My reading so far had not turned much up. ... (1 Reply)
Discussion started by: rrodgers
1 Replies
5. Red Hat
trying to add git link to my computer as root and getting error message
git clone https://github.com/xxxxxxx/xxxxx.sh
bash: git: command not found
Please use CODE tags as required by forum rules! (3 Replies)
Discussion started by: DOkuwa
3 Replies
6. UNIX for Beginners Questions & Answers
How can I install git on unix using wget? (7 Replies)
Discussion started by: Akash BHardwaj
7 Replies
7. UNIX for Beginners Questions & Answers
i am running solaris 10 and they want GIt on there.
The instructions that I found on line want me to use pkgutil which i don't have either.
Most packages that i have installed come from the cd and are labeled SUNW...
I see one instruction to add
pkgadd -d http://get.opencsw.org/now
... (4 Replies)
Discussion started by: goya
4 Replies
8. Programming
Waiting for more fun Ardunio parts from AliExpress, I decided to test two cheap Chinese Arduino UNO clones.
The Arduino UNO R3 (CH340G) MEGA328P
The Wavgat UNO R3 (CH340G) MEGA328P
Both of these Chinese Ardunio clones sell for about $3 USD, delivered to your door.
The bottom line is... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
sbuild-update
SBUILD-UPDATE(1) Debian sbuild SBUILD-UPDATE(1)
NAME
sbuild-update - update, upgrade, and clean an sbuild chroot with apt-get
SYNOPSIS
sbuild-update [-h|--help] [-V|--version] [--arch=architecture] [-u|--update] [-g|--upgrade] [-d|--dist-upgrade] [-c|--clean] [-a|--auto-
clean] [-r|--autoremove] CHROOT1 [CHROOT2 [CHROOTn...]]
sbuild-update -k|--keygen
(DEPRECATED) sbuild-upgrade [-h|--help] [-V|--version] CHROOT1 [CHROOT2 [CHROOTn...]]
(DEPRECATED) sbuild-distupgrade [-h|--help] [-V|--version] CHROOT1 [CHROOT2 [CHROOTn...]]
(DEPRECATED) sbuild-clean [-h|--help] [-V|--version] [-c|--clean] [-a|--autoclean] [-r|--autoremove] CHROOT1 [CHROOT2 [CHROOTn...]]
DESCRIPTION
sbuild-update runs apt-get inside the specified chroot performing update, upgrade, dist-upgrade, clean, autoclean, and/or autoremove
depending on the options specified on the command line.
sbuild-upgrade, sbuild-distupgrade, and sbuild-clean, are deprecated. They now simply run sbuild-update with the appropriate options
(--upgrade or --dist-upgrade for sbuild-upgrade or sbuild-distupgrade respectively) along with whatever arguments were passed in the
scripts.
OPTIONS
Actions
-h, --help
Display this manual.
-V, --version
Print version information.
--arch=architecture
Update chroot for the architecture specified.
-u, --update
Perform an apt-get update.
-g, --upgrade
Perform an apt-get upgrade.
-d, --dist-upgrade
Perform an apt-get dist-upgrade.
-c, --clean
Perform an apt-get clean.
-a, --autoclean
Perform an apt-get autoclean.
-r, --autoremove
Perform an apt-get autoremove.
-k, --keygen
Generate a GPG public/private key pair for self-signing local apt archives, used for installation of dependency packages. Note that
this requires a significant amount of entropy (randomness) and may hang on systems with poor entropy sources, such as headless sys-
tems without direct user input. In this situation, it is advisable to create the key on a trusted local system, and copy the files
to the build system by hand from /var/lib/sbuild/apt-keys/.
Chroot selection
CHROOT The chroot to use. Note that 'o', 's', 't', 'u' and 'e' may be used as abbreviations for 'oldstable', 'stable', 'testing', 'unsta-
ble' and 'experimental', respectively.
EXAMPLES
To update the unstable chroot:
% sbuild-update --update unstable
To upgrade the unstable chroot:
% sbuild-update --upgrade unstable
To clean the unstable chroot:
% sbuild-update --clean unstable
To perform an update, dist-upgrade, clean, autoclean, and autoremove for the unstable chroot:
% sbuild-update -udcar unstable
AUTHORS
Roger Leigh.
Andres Mejia.
COPYRIGHT
Copyright (C) 2006-2009 Roger Leigh <rleigh@debian.org>.
Copyright (C) 2010 Andres Mejia <mcitadel@gmail.com>.
SEE ALSO
sbuild(1), sbuild-apt(1),
Version 0.63.2 18 Aug 2012 SBUILD-UPDATE(1)