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

Catalyst-IN/OpenSourceEvents-Frontend: This website contains a list of open sour ...

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

开源软件名称:

Catalyst-IN/OpenSourceEvents-Frontend

开源软件地址:

https://github.com/Catalyst-IN/OpenSourceEvents-Frontend

开源编程语言:

HTML 74.7%

开源软件介绍:

OpenSourceEvents-Frontend

This website contains a list of open source events and hackathons. They are in a proper month wise timeline so the user does not face difficulty while searching through the open source events. Most of the times students want to participate in the events but they don't know the dates or the event details. This repo contains links of the events and when are the events going to take place.

website-https://opensourcefrontend.netlify.app/

ScreenShots

Home Page

Detail of events according the month

Configure remotes

When a repository is cloned, it has a default remote called origin that points to your fork on GitHub, not the original repository it was forked from. To keep track of the original repository, you should add another remote named upstream:

  1. Get the path where you have your git repository on your machine. Go to that path in Terminal using cd. Alternatively, Right click on project in Github Desktop and hit ‘Open in Terminal’.
  2. Run git remote -v to check the status you should see something like the following:

    origin https://github.com/YOUR_USERNAME/OpenSourceEvents-Frontend.git (fetch)
    origin https://github.com/YOUR_USERNAME/OpenSourceEvents-Frontend.git (push)

  3. Set the upstream:
    git remote add upstream https://github.com/Catalyst-CSE/OpenSourceEvents-Frontend.git
  4. Run git remote -v again to check the status, you should see something like the following:

    origin https://github.com/YOUR_USERNAME/OpenSourceEvents-Frontend.git (fetch)
    origin https://github.com/YOUR_USERNAME/OpenSourceEvents-Frontend.git (push)
    upstream https://github.com/Catalyst-CSE/OpenSourceEvents-Frontend.git (fetch)
    upstream https://github.com/Catalyst-CSE/OpenSourceEvents-Frontend.git (push)

  5. To update your local copy with remote changes, run the following:
    git fetch upstream master
    git rebase upstream/master
    This will give you an exact copy of the current remote, make sure you don't have any local changes.
  6. Project set-up is complete.

Contributing and developing a feature

  1. Make sure you are in the master branch git checkout master.
  2. Sync your copy git pull --rebase upstream master.
  3. Create a new branch with a meaningful name git checkout -b branch_name.
  4. Develop your feature on Xcode IDE and run it using the simulator or connecting your own iphone.
  5. Add the files you changed git add file_name (avoid using git add .).
  6. Commit your changes git commit -m "Message briefly explaining the feature".
  7. Keep one commit per feature. If you forgot to add changes, you can edit the previous commit git commit --amend.
  8. Push to your repo git push origin branch-name.
  9. Go into the Github repo and create a pull request explaining your changes.
  10. If you are requested to make changes, edit your commit using git commit --amend, push again and the pull request will edit automatically.
  11. If you have more than one commit try squashing them into single commit by following command:
    git rebase -i origin/master~n master(having n number of commits).
  12. Once you've run a git rebase -i command, text editor will open with a file that lists all the commits in current branch, and in front of each commit is the word "pick". For every line except the first, replace the word "pick" with the word "squash".
  13. Save and close the file, and a moment later a new file should pop up in editor, combining all the commit messages of all the commits. Reword this commit message into meaningful one briefly explaining all the features, and then save and close that file as well. This commit message will be the commit message for the one, big commit that you are squashing all of your larger commits into. Once you've saved and closed that file, your commits of current branch have been squashed together.
  14. Force push to update your pull request with command git push origin branchname --force.

Update local branch with latest changes

- git checkout master
- git fetch --all --prune
- git merge --ff-only upstream/master
- git push origin master


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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