cantu/tucan_Linux_practice
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is my first files in the github, may be i'lll love the coding life. Do some changes, use git to commit the moddify. Do some change again. 1.edit new file: touch readme 2.git add readme git add . //add all sub-folders, but exclude empty folder. git add -i //interactive add files 3.git status 4.git commit -a -m 'first commit' git conmit -a //commit all files whitch is modtied and delete or add. 5.git log -p -2 //-p show every version diff, -2 show the last 2 times. fit log --graph // graphcily show the branch 6.git tag 1.0 //use current master branch to commit a tag version // merge local and server's repo, // local default branch is master git push origin master cantu // refresh file vim readme git commit -a -m 'log messages' git push origin master // clone the repository cd ~/.ssh ssh-keygen -t rsa -C "your_email@example.com" # Creates a new ssh key, using the provided email as a label # Generating public/private rsa key pair. # Enter file in which to save the key (/home/you/.ssh/id_rsa): ssh-add id_rsa git clone git@github.com:cantu/tucan_Linux_practice.git //view status and info git-status git-diff git-whatchchanged if use GCC compiler, user commender as: gcc -g -Wall source.c -o target.o
About
this is tucan's practice for programing in linux envoirment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published