First thing first
After joining OSDC, starting submitting pull requests and creating github.io pages, I learned that my username in github.com is actually greengorcer, not greengrocer.
After checking github.com, I found that greengrocer was available I When I joined github.com in 2014. So it was totally my spelling error at that time.
Someone took greengrocer in 2016, so I need to figure out what to do with my username now. greengorcer is kinda stupid.
You need to install openssh-client to get ssh-keygen command
Then using ssh-keygen to generate a ssh public key for SSH github push.
git basic work flow
1. git clone
This is for the initial downloading from github.com repo.
2. make some edit in the repo
3. git add filename
This put the edited files to be staged
4. git commit
Submit the change in the local rep.
5. git push
Submit the change of the local repo to the github.com repo.
git reset --soft HEAD~1
Revoke the latest commit in the local repo.
git restore --staged filename
This will unstage the files. The reverse action of add.
git checkout filename
This could revoke the local change.
.gitconfig
git config --global --add user.name "Foo Bar"
git config --global --add user.email foo@bar.com
You can also edit the ~/.gitconfig file directly.
A little about ack, a Perl project
It is under active development, but the demand is mainly in the document format definition, not in Perl code.
Top comments (0)