Posts by Allan Dantas • 359 points
9 posts
-
1
votes1
answer671
viewsQ: Prevent direct access to wordpress videos (Prevent direct access files)
I own a wordpress-based Learning application, and I have several video lessons in the directory public_html/wp-content/uploads/... I would like to prevent direct access to these videos, since it is…
-
1
votes0
answers14
viewsQ: No . gitignore this '!/wp-content/plugins/' equals this '!/wp-content/plugins/*'?
No . gitignore this notation !/wp-content/plugins/ has the same result as this other? !/wp-content/plugins/*
gitasked Allan Dantas 359 -
3
votes2
answers9712
viewsQ: What does the npm build command do?
I don’t know much about Node, but I understand that the npm is a package manager for Node. As far as my vision goes npm I can download the project packages in a more practical way, I can host my…
-
1
votes0
answers113
viewsQ: Difference between URL FETCH and URL PUSH
Hello ! Consulting my remote origin via command git remote show origin I got the return: $ git remote show origin * remote origin Fetch URL: [email protected]:/var/git/Projeto.git Push URL:…
gitasked Allan Dantas 359 -
3
votes1
answer465
viewsQ: What is this information next to the commit ID?
What does this information in red next to the commit ID mean? I realized that only in this commit is this. No branch, this log is in master.…
gitasked Allan Dantas 359 -
0
votes1
answer251
viewsQ: How do I use Jenkins to see which files were modified in the commit?
I am working with PHP and Mysql on Windows, my repository is in Gitlab. I wish to use Jenkins to run a job or pipeline when pushing to the repository. The job should check the changed files in the…
-
7
votes3
answers1181
viewsQ: Is GIT Staging Area useless?
I understand the workflow regarding the process that leads to a commit (working directory -> staged area -> repository), but I still can’t understand the usefulness of Staging Area in…
gitasked Allan Dantas 359 -
6
votes2
answers217
viewsQ: What’s the difference between git reset -- <file_name> and git reset HEAD <file_name>?
To remove files from staged area I use the command: $ git reset HEAD <file_name> However I accidentally applied the command: $ git reset <file_name> I forgot the HEAD of command. In…
gitasked Allan Dantas 359 -
2
votes2
answers434
viewsQ: What’s the difference between the remote Github repository and the remote one on my dedicated server?
On Github we can create remote repositories, and when we do we gain a certain set of administrative functionalities under this repository, one of these functionalities is the administrator’s ability…