• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jgmil/thinkful-git-ws: For Thinkful Detroit's Git & GitHub Workshop ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jgmil/thinkful-git-ws

开源软件地址:

https://github.com/jgmil/thinkful-git-ws

开源编程语言:


开源软件介绍:

thinkful-git-ws

For Thinkful Detroit's Git & GitHub Workshop

Git is a version-control system that tracks changes made to files and allows for easier collaboration among multiple people hello world

Git

  • What is Git?
    • GitHub is the most popular site for remotely saving our code and collaborating with other developers on open source projects
  • Local & Remote Branches
    • Local - branch stored on your personal computer
    • Remote - branch stored in a separate repository, like GitHub, Bitbucket, GitLab, etc
  • Branching Strategies
  • Git Init
  • Command that initializes our file directory into a new Git repo
  • Status / Add & Commit
    • Status - shows us which files we have changed in our repo, and which files we are currently tracking
    • Add - add files to the staging area
      • Which files do we want to include in our next commit?
    • Commit - saving a snapshot of our recently changed files
      • Commit often and frequently
        • Usually want to commit whenever we’ve made an incremental change or improvement to one or more files
        • Infrequent commits can make it difficult to know where exactly our project broke / what needs to be corrected
  • Git Push
    • Rolling Back a Commit
  • Git Clone
    • Copying a project and downloading it to your local machine from a remote repo
  • Forking
    • Copying a project and creating your own branch, allowing you to hack away without fear of altering repo you forked from
  • Merging / Pull Requests
    • Merge - combining separate branches of your project, typically to add a new feature while ensuring you don’t break any existing functionality of your project
    • Pull Requests - typically a more formal process where you’re asking an assigned person to merge your code into their repo, while explaining the changes you made and why they should be merged
    • Merge Conflicts - errors that may arise when trying to merge branches - can sometimes be ignored, but should always be carefully looked at to avoid any breaking changes that may arise from merging the two branches

Summarize

Git is our coding time machine. Mistakes and errors in our code are inevitable. Git allows us to roll back to when our code was still working and avoid making the same mistake twice. Git is our coding safety net. It will also allow you in the future to collaborate with others.

Take Home Problem




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
pidcodes/pidcodes.github.com: Website for pid.codes发布时间:2022-06-11
下一篇:
simonthum/git-sync: Safe and simple one-script git synchronization发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap