Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

while updating a html file and pushed to github its not updating

when I try to update a html file, after that using git bash I have pushed a file and commit it, but the result is up-to-date. actually it is not updating

Admin@baluhari MINGW64 ~/OneDrive/Desktop/working (master)
$ git add .

Admin@baluhari MINGW64 ~/OneDrive/Desktop/working (master)
$ git commit -m "my changes"
On branch master
Your branch is up to date with ‘origin/master’.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

nothing to commit, working tree clean

the thing is want to show a updation in github

>Solution :

Be sure that You have git in your repository.
Write cat "filename" and it will show you what is in the file. By this simple instruction u can check which file git has and search the place where git takes files from. Then it`s obvious move file there or checkout git to other file.

After it
git add .
git status (u will see what happened)
git commit -m "describe what u changed"
git push

check of course do you have rights to push something into the branch

I hope u made
git clone "link to your repostiory"

and other first simple commands that appear after u create git repository on git hub

If, it wont work check too does your editor has VCS(Version Control System). Its easy to use. There are some buttons to connect, commit, clone, push etc

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading