Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git clone ssh://user@server/Users/GitRepo/Project.git
- <create file locally>
- git add <localfile>
- git commit -m "Narg"
- git push
- git clone ssh://user@server/Users/GitRepo/Project.git
- git status
- # Not currently on any branch
- # Untracked files:
- followed by a long list of Untracked files.
- git remote show origin
- * remote origin
- Fetch URL: ssh://user@server/Users/GitRepo/Project.git
- Push URL: ssh://user@server/Users/GitRepo/Project.git
- HEAD branch: master
- Remote branch:
- master tracked
- Local branch configured for 'git pull':
- master merges with remote master
- Local ref configured for 'git push':
- master pushed to master (up to date)
- git branch -a
- * (no branch)
- master
- remotes/GitRepo/master
- remotes/origin/HEAD -> origin/master
- remotes/origin/master
- git config --global alias.gr 'log --graph --full-history --all --color --decorate'
- git gr
- git checkout master
- git add yourfile.txt
- git commit -m'Narg'
- git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement