User Tools

Site Tools


newdevs:git:commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
newdevs:git:commands [2021/05/28 11:46] tmccannanewdevs:git:commands [2021/05/28 11:47] tmccanna
Line 40: Line 40:
   * ''git push working <nowiki>--delete</nowiki> mybranchname'' --> delete a remote branch   * ''git push working <nowiki>--delete</nowiki> mybranchname'' --> delete a remote branch
   * ''git remote -v'' --> display remote directories   * ''git remote -v'' --> display remote directories
-  * ''git remote update'' --> +  * ''git remote update'' --> refresh your local cache from the remote branches (does not download new branches); equivalent to git fetch --all
   * ''git reset HEAD myfile.txt'' --> unstage a file that has already been staged   * ''git reset HEAD myfile.txt'' --> unstage a file that has already been staged
   * ''git reset <nowiki>--hard</nowiki>'' --> reset a current branch to its original state   * ''git reset <nowiki>--hard</nowiki>'' --> reset a current branch to its original state
newdevs/git/commands.txt · Last modified: 2024/03/25 16:35 by tmccanna

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.