Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@st1n-lap:/home/st1n/Work/Code# git clone git://github.com/q3ry/test
- Cloning into 'test'...
- remote: Counting objects: 4, done.
- remote: Compressing objects: 100% (3/3), done.
- remote: Total 4 (delta 0), reused 0 (delta 0)
- Receiving objects: 100% (4/4), done.
- root@st1n-lap:/home/st1n/Work/Code# cd test/
- root@st1n-lap:/home/st1n/Work/Code/test# git init
- Reinitialized existing Git repository in /home/st1n/Work/Code/test/.git/
- root@st1n-lap:/home/st1n/Work/Code/test# ls
- README.md
- root@st1n-lap:/home/st1n/Work/Code/test# > testFile
- root@st1n-lap:/home/st1n/Work/Code/test# git add testFile
- root@st1n-lap:/home/st1n/Work/Code/test# git status
- # On branch master
- # Changes to be committed:
- # (use "git reset HEAD <file>..." to unstage)
- #
- # new file: testFile
- #
- root@st1n-lap:/home/st1n/Work/Code/test# git commit -m "test commit"
- [master 250f801] test commit
- Committer: root <root@st1n-lap.(none)>
- Your name and email address were configured automatically based
- on your username and hostname. Please check that they are accurate.
- You can suppress this message by setting them explicitly:
- git config --global user.name "Your Name"
- git config --global user.email you@example.com
- After doing this, you may fix the identity used for this commit with:
- git commit --amend --reset-author
- 0 files changed
- create mode 100644 testFile
- root@st1n-lap:/home/st1n/Work/Code/test# git push -u origin master
- fatal: remote error:
- You can't push to git://github.com/q3ry/test.git
- Use git@github.com:q3ry/test.git
- root@st1n-lap:/home/st1n/Work/Code/test#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement