gitlab markdown delete file - file

I use GitLab CE 9.5.3 and I've added a file as attachment to a repository, but when I've deleted the file from the gitlab console the file has not been deleted from the file system.
Have you got any suggestions on how to fix it?
Regards.

In order to reflect the changes made on the web to your file system, you have to perform a git pull from your system.

Related

I want to make my website open source but I have a file with DB credentials

I made a website with NextJS that I'd like to make open source, but I have a .env file with read-only credentials to my DB.
I don't think it would be a huge issue to make those credentials public as I wouldn't mind people querying my DB, but it still seems risky and I'd rather not.
Keep in mind that I use Vercel to deploy the website, which gets the code from the git repo.
I've thought about cloning the private repo, deleting the .env file and making this new repo public, but that's not an ideal solution since I'd end up with two repos.
I assume your .env file has already been committed to the repo?
Add it to .gitignore, and use BFG (usage instructions at that link) to delete the file from your repo. A normal delete will not work, as the file will still be in the git history. Using BFG, it'll be erased from the repo entirely.

Downloaded new skill and cannot push dev

I created a new skill in the web-based interface. Then I used the skills extension in vscode to download the new skill. After downloading I have the interactionModel as an untracked file in the dev branch. I committed that and some other files and tried to push it to get things synced up and it failed, saying to do a pull first. I do the pull succesfully and then try the push again and get the same error. What can I do to sync things?
EDIT: I tried pushing from a shell and got "get: .ask\scripts\git-credential-helper: not found". So I couldn't log in to the amazon repo. Could this be causing the problem above? How do I get my credentials for the remote repo? I assumed that would be set up automatically from the alexa-skill extension in vscode when I downloaded the skill.
I found the answer to my problem here
The commands I used were ...
git checkout dev
git pull --rebase
git merge master
# fix any merge conflict if you have any
git push --no-verify

I need help github and intelij idea

Your help is very necessary. I am creating react-project in intellij idea. When I want to commit files before pushing them to github, I can't see all the files with folders that were created. When I create a branch, it is visible on github, but files and folders are NOT pushed and they are not visible. How can I solve this problem? Thank you very much)
This is my files and folders
enter image description here
And here is what I get after committing
enter image description here
Your files are not confirmed or tracked. If you run git status in the Terminal you will see all files added or changed. So you need to add this files to git tracking and after to perform a commit. And finally, git push to upload your changes to Github.
In the UI simply mark the checkbox to add all files to the commit.

Install.aspx file issue while upgrading Evoq Content

Currently my application is running on Evoq Content 7.3 and I was trying to upgrade it to Evoq Basic 8.5. I have copied the upgraded file into my application directory And now when I try to access the http://MYWEBSITE/install/install.aspx?mode=upgrade , It is giving error "resource can not found Requested URL: /install/install.aspx.
Please advise.
This looks like some files were removed from the install directory, probably as part of a security precaution. I'm not sure why they were not added back with the upgrade package.
You might be able to fix this by copying the install directory from an appropriate install package. Just the install directory.
As always, make a copy of your database and complete file directory first, just in the event that what you do fails.

datbase.php of cakephp not uploading to github

I have recently started using GitHub. I am uploading my cakephp website.
Also, I am using GitHUb for windows, http://windows.github.com/
Now, after I added my CakePHP files -> committed the changes -> synced, I do not see my app/database.php file being uploaded.
I checked the repository through browser, but still can't find the database.php file.
I have re-installed GitHub for windows, created a new repository, again added the files to it, but same result.
Please help, what is the issue.
Clear your .gitignore file and commit again.
But database.php is in your .gitignore is for a security reason. It may contain sensitive data, double check it before pushing.

Resources