Bitbucket repositories | Adding , updating files to git and bitbucket respository

 Here is the inital command for adding files

  • git status = to check list of files need to be update ( it will show i red)
  • FOR ALL NEW FILE git add <filename> = it will file add to queue to add
  • FOR SINGLE FILE git add <filename> = it will file add to queue to add
  • git commit -m "add some message" = it will add file to git repository
  • git push = this command add files bitbucket repository
NOTE: sometime above first code doesn't work. so for that. first run this command "git init"
then close the bash window and try again by opening git bash window again and type "git status" it should work

Popular posts from this blog

How to open cPanel using WHM access.

Cant use dump() function in twig files or how to enable debug in opencart twig or print_r alternate use dump() in opencart 3.0