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

ayansiddiqui007/hacktoberfest: hacktoberfest contribution for amateurs !

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

开源软件名称(OpenSource Name):

ayansiddiqui007/hacktoberfest

开源软件地址(OpenSource Url):

https://github.com/ayansiddiqui007/hacktoberfest

开源编程语言(OpenSource Language):

HTML 31.1%

开源软件介绍(OpenSource Introduction):

Hacktoberfest contribution for amateurs!

Happy Hacktoberfest!

Try to contribute on one project at a time.

Either the first or best commit will be accepeted.

Learn Git: Commit

The term commit is fundamental to how Git functions as a version control system. It is important to first understand what a commit is before learning how to perform the Git commit command and how to perform other actions related to commits in Git.

What is a Git commit?

In Git, a commit is a snapshot of your repo at a specific point in time.

To help further understand what a Git commit is, we need to review your Working Directory vs your Staging Directory and how files changes are reflected in your Git repository.

Think of your working directory as your “in progress” working area; here, created or modified files are not yet reflected in your Git repo. Changes made to files in your working directly only exist locally on your machine.

Git Stage Files

In order to apply changes from your working directory to your Git repository, you must first stage them in your staging directory.

From here, your changes can be saved in your repo by performing a Git commit.

Now, each Git commit will represent a snapshot of your repo at that point in time, and all of your commits will come together to form your repository’s history.

Git Workflow

Traditionally, a Git workflow will involve the following steps:

Make changes in your working directory Stage changes in your staging directory Commit changes to apply them to your Git repository OK, now that we’ve answered the question of what is a Git commit !




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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