LINUXOPOLIS ~ GIT # 2019-10-12
GIT
Building a Linux habitatPublished with SteemPeak
home previous
SUMMARY
01 GIT .............................................................. v1 2019-10
03 installation ..................................................... v2 2019-10 update
06 configuration .................................................... v2 2019-10
04 documentation .................................................... v3 2019-10
02 first steps ...................................................... v3 2019-10 update
05 tutorials ........................................................ v3 2019-10 update
07 pycharm .......................................................... v1 2019-10
09 github ........................................................... v2 2019-10
10 branching ........................................................ v1 2019-10 new
08 sources .......................................................... v1 2019-10
#10
10 BRANCHING
$ cd ~/project
<master> $ git log
<master> $ git status
<master> $ git branch
<master> $ git branch test
<master> $ git checkout test
<test> $ git checkout master
<master> $ git merge 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 "[email protected]"
$ git config --list
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
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
$ man git-<tab><tab>
02 FIRST STEPS
10 $ mkdir ~/project_1
11 $ cd ~/project_1
12 $ git init
13 $ git config --global user.name "first_name last_name"
14 $ git config --global user.mail "[email protected]"
15 $ git status
20 $ touch test.txt
21 $ touch test2.txt
22 $ touch .gitignore
23 $ git status
30 $ git add test.txt
31 $ git -rm --cached test2.txt
32 $ git status
40 $ git commit -m "first commit"
41 $ git log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
42 $ git status
git-scm.com ................................................. git-scm.com/videos
corey shafer .............................................. youtu.be/HVsySz-h9r4
01 GIT
homepage ........................................................... git-scm.com
download ................................................. git-scm.com/downloads
This post had received 5.00% 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
Delegation for daily voting: 10SP-25SP-50SP-100SP-250SP-500SP-1000SP