This is a library booking app created using React-Native
Installed dependecies
- @react-navigation/native@^5.x
- @react-navigation/stack@^5.x
- @react-native-picker/picker
- react-native-reanimated react-native-gesture-handler react-native-screens react-native-safe-area-context @react-native-community/masked-view
- @react-navigation/drawer
- react-native-floating-action
- @react-navigation/bottom-tabs
- react-native-vector-icons
- react-native-sqlite-storage
- react-native-date-picker
- react-native-popup-dialog
- @react-native-community/checkbox
git clone _repo https link_
to clone code filegit checkout -b _branchname_
to create a new branchnpm install
in this project to install node module- Now you can start your work at your new branch!
git add .
to save all your code in your branchgit commit -m "_message_"
to commit your code (remember to write what you modify or did in the message section to let us understand your code faster)git checkout master
+git pull
switch to main branch and makesure your code is up to date with main branch (or also call master branch)git push
orgit push --set-upstream origin _your branch name_
and use the git push code to upstream- Go to your branch and create pull request by clicking the button show below. Write information about the pull request and click "Send pull request"
- Only add / modify code in your section to avoid any error when we merge the file
- Better to use
git commit -m "_message_"
to do commit. Add some message to say what changed you have done so everyone can easily track yyour code - Remember always
git pull
first before you do any changes to make sure your code is up to date
git clone _repo https link_
= clone this repo into your command line current folder (also called directory) gitgit status
= file you updated / created in git (red = not save, green = saved)git add .
= save all you changes into gitgit add _filename_
= save the changes the file you mention into gitgit commit
= commit your change to git repository (repository depend which branch you at)git commit -m "_message_"
= commit all file with a messagegit commit -am "_message_"
= commit modified file with a messagegit push
= push your code to repository (depend on which branch you at)git branch
= to check all branch you havegit branch -d _branchname_
= delete the branch you selectedgit checkout _branchname_
= switch to different branchgit checkout -b _branchname_
= create a new branchgit pull
= pull the latest code from repo to your local foldergit diff
= check different between your local folder code and repo code