Skip to content

Instantly share code, notes, and snippets.

@evandhoffman
Created August 10, 2012 18:46
Show Gist options
  • Select an option

  • Save evandhoffman/3316669 to your computer and use it in GitHub Desktop.

Select an option

Save evandhoffman/3316669 to your computer and use it in GitHub Desktop.
more shit
evan@evan-desktop: ~ $ git clone [email protected]:/home/evan/gitrepo clonedrepo2
Cloning into clonedrepo2...
[email protected]'s password:
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (3/3), done.
evan@evan-desktop: ~ $ cd clonedrepo2/
evan@evan-desktop: ~/clonedrepo2 $ ls
poop
evan@evan-desktop: ~/clonedrepo2 $ echo poop2 > poop2
evan@evan-desktop: ~/clonedrepo2 $ git add poop2
evan@evan-desktop: ~/clonedrepo2 $ man git
evan@evan-desktop: ~/clonedrepo2 $ man git-commit
evan@evan-desktop: ~/clonedrepo2 $ git commit -m "add poop2"
[master f3e591f] add poop2
Committer: Evan Hoffman <evan@evan-desktop>
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 [email protected]
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 poop2
evan@evan-desktop: ~/clonedrepo2 $ git push
[email protected]'s password:
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 275 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To [email protected]:/home/evan/gitrepo
5b52d0a..f3e591f master -> master
evan@evan-desktop: ~/clonedrepo2 $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment