( You will see this on Top Right of Github Repository !)
git clone <insert-link>
(NOTE: In Place of insert-link paste the link you copied)
git remote add upstream https://github.com/meshery/meshery.git
("meshery" is used as the example repo. Be sure to reference the actual repo you're contributing to e.g. "meshery-linkerd").
git remote -v
git fetch upstream
git checkout master
git merge upstream/master
If the local master branch has no unique commits, git will simply execute a fast-forward. However, if you've been making modifications to master (which, in the vast majority of circumstances, you shouldn't be - see the next section), you may run into issues. Always keep in mind the changes made upstream when doing so.
Your local master branch is now up to date with everything that has been changed upstream.
git checkout master
ci/your_username/issue#
OR
feature/your_username/name_of_feature
For bugs use
bug/your_username/issue#
OR
bug/your_username/name_of_bug
git branch feature/jdoe/567
git checkout feature/jdoe/567
(NOTE: Use the name of the branch you created instead of 'feature/jdoe/567'.)
Now you may start hacking and make any changes you desire.🚀
git add [files-changed]
(NOTE: This will stage all the changes you have made.)
git commit -m "MESSAGE"
(NOTE: Instead of 'MESSAGE,' include a commit message so the maintainer can see what you've done.Also make sure to get the DCO signed.)
git fetch upstream
git checkout master
git merge upstream/master
git checkout feature/jdoe/567
git rebase master
Now, it may be desirable to squash some of your smaller commits down into a small number of larger more cohesive commits. You can do this with an interactive rebase:
git checkout
git rebase -i master
This will open up a text editor where you can specify which commits to squash.
Your pull request will track and update changes in your development branch automatically.🌸
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )