Skip to content

Pradyumnakashyap/AWT

Repository files navigation

AWT

Advanced Web Technologies

setup

Geting started

Development FOr the first time only pull the code and install the packages locally

git clone git@github.com:Pradyumnakashyap/AWT.git
npm install
npm start

after that every time, just run git pull to get latest

git pull
git branch newbranchName #create a new branch for the task you want to work on 
git push # once changes are complete, do the git push and then we will merge

Build

npm run build

Git Commands

git clone URL #to copy the repo
Git status #changed files in local repo
git diff #changes to tracked files
git add . #add all the files to next commit or stage them
git reset filename #
git commit #commit staged changes
git commit -a #commit all changed files

Branches

git checkout <branch> #switch to different branch
git branch #will show the branch
git branch newbranchName #create a new branch from the current commit
git diff branchB...branchA #diff of what is in A that is not in B 

Git Rebase

Git checkout develop
git pull origin develop #git pull from the origin
git checkout branchName
git merge develop #for conflicts, do #gitstash and then merge and then git stash pop
git push

Git Cheat sheet

https://education.github.com/git-cheat-sheet-education.pdf

working on our own branch

we need to do these 3 things after you already got the code on your local machine

git checkout anubhav #or your branch name
#Haseeb: once changes are done, do commit and push
git commit -a -m "what are the changes you did"
git push

Author

Anubhav Haseeb Asif Pradyumna Kashyap

PG Admin container on your local machine

docker run -p 5050:5050 thajeztah/pgadmin4

About

Advanced Web Technologies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published