Git Commands
Git Commands
2025 ==========================
---------------------------
first created workspace
then
cloned project : git clone https://github.com/theavi/barbershop.git
check git branch :git branch
if not master then
git checkout master
--------------------------------------------------- OTHER
-------------------------------------------------------
For local repo commit : git commit -m "BARBAR-05 get district page intitiated"
git add .
git commit -m "Conflict resolved"
git pull
--------------------
to get only one file direct from master : git checkout origin/master
src/main/java/com/barbershop/controller/CountryController.java
create new branch and checkout code in that : git checkout -b BARBER-05 master
-----------------
-------------------------------------------------------
https://getbootstrap.com/docs/4.0/components/jumbotron/