Tags:
view all tags
---++ Using git Repositories This is a very quick guide to using git repositories. It assumes that git is installed and running on your machine. For git information and download, see [[http://git-scm.com/][git homepage]] . Git is easy to install from source (recommended). For more detailed information, consult the git man pages, or read the tutorials and howtos on the site given above. Also, run ==git help -a== to see all available git commands. ---+++ Quick git Usage ==git add .== adds all files in the directory to the git repository ==git commit== commits all changes to the git repository ==git log== shows the log of commits to the repository ==git diff== shows changes between commits, or if outstanding changes have not been committed, shows these changes ==git init== creates a git repository in the current directory ==git branch== list, create, or delete branches ==git status== shows the status of the working tree ==git checkout <branch>== switches to a different branch (no branch name defaults to master branch) -- Main.DuncanPenfoldBrown - 2009-07-23
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
More topic actions...
Topic revision: r1 - 2009-07-23
-
dpb
Home
Site map
Altair web
Belle2 web
HEPrc web
Main web
Sandbox web
TWiki web
HEPrc Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback