Breaking News

New Updates

Git Push

Git

  • Repostery add by menu
  • Repostery add by commant
usefull link usefull link

Git

part-1

very useful info for creatin new vs code file step:

  • type null > index.html
  • for create html file
  • code .
  • for open file in a vs-code

part-2

start git

  1. git init   ⇒  for .git hidden folder creating
  2. git status   →  for tracking the file , but note track becouse there is not added
  3. git add index.html   →  this file is tracked untill any changes.
  4. git add .   →  This is the shorcut for the track all file in the directry.
  5. git rm --cached index.html   →  This is used to pause tracking on index.html
  6. git rm --cached -r .   →  This is used to pause all files in the directry
  7. git commit -m "enthangilum ezhutham"   →  this is used to add massage to the final change information.
  8. git -a -m "final changes"   →  This is only used for alrady added files re-using 2 in 1 command.
  9. create file name .gitignore and add file name note.txt, when a folder /img   →  This is used to removing deploying to git/github

Download Git Bash

https://gitforwindows.org/


Copy the clone link


After the installing, open Git Bash:


Go to path of the file:
Dreams@shamnad MINGW64 /e
$ cd d

Dreams@shamnad MINGW64 /e/d
$ cd newgit

Dreams@shamnad MINGW64 /e/d/newgit
$ 

Dreams@shamnad MINGW64 /e/d/newgit


Enter the clon link on Git bash:
git clone https://github.com/muhammedya/movieapp.git


after automaticale created a folder name as, movieapp in newgit,
add copy past to moviapp folder into our project moviepro
go to, cd movieapp,
moviepro - thats is manage.py contain foldet, right?


add files by enter
git add .
importend add . (dot)

To submit
git commit -m "ddddd"


New User must enter below:
$ git commit -m "ddddd"
Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'Dreams@shamnad.(none)')


add from stack overflow
git branch -M main 


Pushing
git push origin main


Local host sign in and submit,


finaly done.
movieapp link

No comments