Last active
April 30, 2021 12:26
-
-
Save YousraBD/ed026a03af400c36c2db19b4bfba6b92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git status | |
On branch ts-setup | |
$ git checkout -b migrate-components # checkout from ts-setup | |
$ mv components/Button.jsx components/Button.tsx | |
$ git add . && git commit -m 'Migrate button to TS' | |
$ git push -u origin migrate-components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git checkout migrate-to-firebase | |
$ git reset --soft develop | |
$ git restore --staged . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git branch -M setup-firebase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git status # we are on master | |
On branch master | |
$ git checkout -b ts-setup # checkout from master | |
$ npm i -D typescript && npx tsc --init | |
$ git add . && git commit -m 'Setup TypeScript' | |
$ git push -u origin ts-setup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment