forked from microsoft/AdaptiveCards
-
Notifications
You must be signed in to change notification settings - Fork 21
Setting up the project.
manujai edited this page Feb 10, 2021
·
1 revision
-
Create a folder named dev in your home directory. All repos can be cloned in to this folder.
mkdir ~/dev
cd ~/dev
-
Visit https://github.com/AdaptiveCards-Desktop/AdaptiveCards and Fork the project (Org id preferred)
-
Got to the Adaptive Card forked repo and click
Click or Download
-
Copy the link and run in terminal
git clone https://github.com/<userid>/AdaptiveCards
whereuserid
is your github username -
Jump to the project directory
cd AdaptiveCards
-
List your git remote
git remote -v
and you should see something like this
-
Add upstream remote
git remote add upstream https://github.com/AdaptiveCards-Desktop/AdaptiveCards
and you should see something similar
- Rebase from
main
branch to get the latest commitsgit pull --rebase upstream main
- Create a new feature branch
git checkout -b my_feature
- After making the commits, push to your origin
git push origin my_feature
- Visit your origin repo https://github.com/userid/AdaptiveCards where
userid
is your github username and raise PR formain
branch underAdaptiveCards-Desktop
upstream.
-
https://github.com/AdaptiveCards-Desktop/AdaptiveCards is your
upstream
repo -
https://github.com/userid/AdaptiveCards is your
origin
repo - Commits are pushed to
origin
feature branch - Use
main
branch and notmaster