iT邦幫忙

第 12 屆 iThome 鐵人賽

DAY 12
0
Modern Web

用30days 了解web系列 第 12

(day 12) Introduction to Basic GIT

  • 分享至 

  • xImage
  •  

nowadays it's essential for every developer to know source or version control platform. today we will discuss some basic git.

What's GIT?
when I first learn about git. many of them tell me git is a version control platform and I have no idea what they said. so basically what they mean by version control is :
https://ithelp.ithome.com.tw/upload/images/20200925/20129609tdLwQ728vz.png
as example every change we made we call it a commit, and in this case we have 3 commit. when we actually on the 3rd stage or commit, and all of the sudden your boss told you to reset the project into the first stage. if you dont use any version control platform, probably you will change the codes manually. but if you use a version control platform you actually dont have to manually change the codes by your hand, all you need to do is run a script and everything will be back like you wanted. that is what we called version control. there is 2 famous platform out there it's GITHUB and GITLAB.

GIT INSTALLATION
for Mac/Ubuntu
sudo apt-get install git

for windows go the link below:
link

CONFIGURATION
git config --global user.name "user_name" git config --global user.email "user_email"

check the configuration
git config --list

tomorrow we will discuss more about git, such as: make a commit, push, pull, clone, etc


上一篇
(Day 11) Laravel Relational Database
下一篇
(day 13) Making commit and reset commit with git
系列文
用30days 了解web30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言