forked from microsoft/AdaptiveCards
-
Notifications
You must be signed in to change notification settings - Fork 22
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 ~/devcd ~/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>/AdaptiveCardswhereuseridis your github username -
Jump to the project directory
cd AdaptiveCards
-
List your git remote
git remote -vand you should see something like this

-
Add upstream remote
git remote add upstream https://github.com/AdaptiveCards-Desktop/AdaptiveCardsand you should see something similar

- Rebase from
mainbranch 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
useridis your github username and raise PR formainbranch underAdaptiveCards-Desktopupstream.
-
https://github.com/AdaptiveCards-Desktop/AdaptiveCards is your
upstreamrepo -
https://github.com/userid/AdaptiveCards is your
originrepo - Commits are pushed to
originfeature branch - Use
mainbranch and notmaster