Displaying 1-3 of 3 results.
Resolved: How to cretae(make) .htaccess file in Net Beans
posted by admin on February 6, 2017
I want to create .htaccess file in NetBeans.
I want to relize it by short and easy way.
How to make it?Read more
Wiki: NetBeans XAMPP: Connect to git repository and delete existing file from GitHubwiki
posted by admin on October 7, 2016
altIf youtry to delete file from NetBeans, after that try to do commit and push project to update repository, you cant see any deleted files, which you deleted on NetaBenas.

Now I want to share to you my version, to resolving that problem Step By Step

1. Adopt your netbeans project with github repository
All instruction here, how to install and work with NetBeans and Git repository and how to do

  1. How to Initialize a Git Repository
  2. How to Open Window > Output > Output
  3. How to add files or directly commit them to the Git repository
  4. How to clone existing project from Git repository location by user name and password or how to push existing project from NetBeans location by user name and password to Git repository
  5. etc...

2. Download GIT Bash
Official website for downloading Git Bash

3. Open Git Bash command output window
Change your directory to your NetBeans project directory, to find .git files

$ cd c:

a.ovasafyan@IT04 MINGW64 /c
$ cd xampp/htdocs/

a.ovasafyan@IT04 MINGW64 /c/xampp/htdocs
$ cd bukivedi.store

a.ovasafyan@IT04 MINGW64 /c/xampp/htdocs/bukivedi.store (master)

If all is right, you must see the word (master)

Check status

$ git status

If all is done, you can see this message

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean

3. Starting delete process
Deleting file from local repository by rm

$ git rm "index-test.php"

right result:

$ git rm "index-test.php"
rm 'index-test.php'

Checking status after our deleting operation

$ git status

Right result:

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

deleted: index-test.php

check file on your NetBeans Project... File will be deleted successfully, and you can't see that file!
Saving our changes by commit

$ git commit -m "We are testing delete event of Git"

Right Result:

$ git commit -m "We are testing delete event of Git"
[master 3cf6321] We are testing delete event of Git
1 file changed, 15 deletions(-)
delete mode 100644 index-test.php

Push our changes to our Git Repository

$ git push

Right Result:

$ git push
Counting objects: 2, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 252 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
To https://github.com/arthurhovasap/bukivedinstore.git
aac9734..3cf6321 master -> master

Check you repository and enjoy!Read more
Resolved: NetBeans update last commit message
posted by admin on August 12, 2016
How to update last commit, not pushed commit message content?Read more