Beruflich Dokumente
Kultur Dokumente
Git task
Notes
Create a new
Git commands
git init
local repository
Check out a
repository
Add files
git add *
Commit
repository):
Commit any files you've added with git add, and also
git commit -a
repository:
Status
List the files you've changed and those you still need to add
git status
or commit:
Connect to a
remote
repository
Branches
git remote -v
List all the branches in your repo, and also tell you what
git branch
use it:
Push all branches to your remote repository:
remote
working directory:
repository
git pull
git diff
as a release:
CommitId is the leading characters of the changeset ID, up
git log
Undo local
changes
the latest history from the server and point your local
Search