Git client handling
Version vom 6. März 2018, 13:11 Uhr von Thomas.will (Diskussion | Beiträge) (→transfer from local to remote repo)
last changes detailed
- git show
all changes
- git log
new file
create
- echo Hallo Welt > sux.txt
status untracked
- git status
On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) sux.txt nothing added to commit but untracked files present (use "git add" to track)
add whole directory
- git add .
status tracked
- git status
On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: sux.txt
transfer to local repo
- git commit -a -m sux-ver1
transfer from local to remote repo
- git push --set-upstream origin master
change file
change
- echo sauhund >> sux.txt