LINUXOPOLIS # 2019-11-01 ~ GIT

4개월 전

GIT

Building a Linux habitat
Published with SteemPeak
home previous

ScreenshotScreenshot by Willi Glenz

SUMMARY

01 GIT .............................................................. v1 2019-10 

03 installation ..................................................... v3 2019-10 update
06 configuration .................................................... v3 2019-10 update
04 documentation .................................................... v3 2019-10

05 tutorials ........................................................ v3 2019-10

02 start a project ........ init config status ...................... v4 2019-10 update
07 pycharm .......................................................... v1 2019-10
09 github ........................................................... v2 2019-10 
10 branching ........................................................ v2 2019-10 update

08 sources .......................................................... v1 2019-10



#10

10 BRANCHING
$ cd ~/project
<master> $ git log
<master> $ git status
<master> $ git branch

<master> $ git branch 
<master> $ git branch test
<master> $ git branch 
<master> $ git checkout test
<test>   $ git checkout master
<master> $ git merge test
<master> $ git branch -d test
<master> $ git branch
man-pages   $ man git-branch
branching   : git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging


09 GITHUB
$ mkdir ~/project_01
$ cd ~/project_01
$ echo "# project_01" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git remote add origin https://github.com/user/project_01.git
$ git push -u origin master
source      : github.com
cheat sheat : github.github.com/training-kit/downloads/github-git-cheat-sheet.pdf


08 SOURCES
corey shafer .............................................. youtu.be/HVsySz-h9r4
traversy media ............................................ youtu.be/SWYqp7iY_Tc


07 PYCHARM INTEGRATION
introduction    : confluence.jetbrains.com/display/PYH/Using+PyCharm%27s+Git+integration+locally


06 CONFIGURATION
$ git config --help
$ git config --global user.name "first_name last_name"
$ git config --global user.mail "first_name.last_name@provider.com"
$ git config --list

$ git config --local -e
$ git config --global -e
$ git config --system -e


05 TUTORIALS
cold steel ................................................ youtu.be/USjZcfj8yxE
corey shafer .............................................. youtu.be/HVsySz-h9r4
traversy media ............................................ youtu.be/SWYqp7iY_Tc

man-pages .................................................... $ man gittutorial
offizial git-video-tutorials ................................ git-scm.com/videos
offizial git-tutorial ............................. git-scm.com/docs/gittutorial
git immersion ................................................. gitimmersion.com


04 DOCUMENTATION
git-scm ........................................................ git-scm.com/doc
pro git - written by Scott Chacon and Ben Straubbook .... git-scm.com/book/en/v2
reference ..................................................... git-scm.com/docs

git ................................................................. $ git help
git config ................................................. $ git config --help
man-pages .................................................... $ man giteveryday 

github cheat sheat : github.github.com/training-kit/downloads/github-git-cheat-sheet.pdf


03 INSTALLATION
$ apt-cache search git | grep -i "^git" | less
# apt install git
$ git --version
$ man git-<tab><tab>


02 START A PROJECT
10 $ mkdir ~/project
11 $ cd ~/project
12 $ git init
15 $ git status
13 $ git config --global user.name "first_name last_name"
14 $ git config --global user.mail "first_name.last_name@provider.com"
14 $ git config --system|global|local -e
15 $ git status

20 $ git status
21 $ touch .gitignore
22 $ touch test.txt
23 $ touch test2.txt
24 $ git status

30 $ git status
31 $ git add test.txt| . | -A | * |
32 $ git -rm --cached test2.txt
33 $ git status

40 $ git status
41 $ git commit -m "first commit"
42 $ git log
43 $ git status
git-scm.com ................................................. git-scm.com/videos
corey shafer .............................................. youtu.be/HVsySz-h9r4
scott chacon and ben straubbook ......................... git-scm.com/book/en/v2


01 GIT
homepage ........................................................... git-scm.com
download ................................................. git-scm.com/downloads 
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

This post had received 21.56% upvote from @steemitportugal account!
Our website has lots of news and tutorials you can visit right now at www.steemitportugal.com

Click here to vote
steemitportugal
Delegation for daily voting: 10SP-25SP-50SP-100SP-250SP-500SP-1000SP