Skip to content

Instantly share code, notes, and snippets.

View JustATestName144's full-sized avatar

Viacheslav Kyrychenko JustATestName144

  • Donetsk
View GitHub Profile
@JustATestName144
JustATestName144 / gist:648e6ecf431d0e4be424c49250c5bfc3
Created January 10, 2018 09:08
Git. Add changes to previous commit which not pushed yet.
git commit --amend
@JustATestName144
JustATestName144 / new_file0
Last active January 29, 2018 11:01
Git. Merge.
git merge development --no-ff
@JustATestName144
JustATestName144 / new_file0
Created January 8, 2018 12:50
Git. Show remote url.
git remote -v
@JustATestName144
JustATestName144 / new_file0
Last active January 10, 2018 09:16
Git. Create ssh key and add it to ssh-agent.
ssh-keygen -t rsa -b 4096 -C "[email protected]" - Generate new keypair.
eval $(ssh-agent -s) - run ssh agent.
ssh-add ~/.ssh/id_rsa - Add key to agent.
clip < ~/.ssh/id_rsa.pub - copy rsa key to clipboard.