I am creating a React App and my superior would want the app to be hosted anywhere but not on GitHub, so I recommended Hostinger.
My question is:
Can I add a .gitignore file in Hostinger, or any other hosting service that is not GitHub?
Can be .gitignore file be used only in GitHub Repo?
161 Views Asked by Alin-Alexandru Peter At
1
There are 1 best solutions below
Related Questions in GITHUB
- How to update to the latest external Git in Azure Web App?
- Github Pages Deployment deploys a blank page
- Git Not In Sync with Local Branch
- How do I create a test passing badge for my yaml below
- Cant connect to any github repository from my netbeans 20
- How can i redirect pull request from main branch to another branch
- Trying to update the version.go file with the release tag from GitHub actions but its failing
- Encountering Errors Running GitHub Project: Wavelet-pixel domain progressive fusion network for underwater image enhancement - Seeking Assistance
- How can I reintroduce username an password on git using fedora?
- How do I find Github File_ID?
- Forking vs Cloning in GitHub
- I can't find ~/.profile or ~/.bashrc in C:/Users/<user>/.ssh folder
- how to build nextjs app unable to build and deploy
- Plugin with id 'com.android.application' not found in Github Winlator Project
- Git commit asks for passphrase which I don't remember
Related Questions in HOSTING
- How to connect to ssh server with domain name
- Hosting nextjs with nodejs as a backend locally
- Favicon not working on browser search results in React.js, hosted on Hostinger
- Problem in hosting React App with react-router-dom on IIS Server
- Setting up LAMP on Ubuntu 22.04: PHP info not displaying in browser
- i have my cpanel login of my website. how can i change hosting through cpanel?
- How to host multiple projects on a single domain? (For free)
- GoDaddy Hosted Server Not Respoding to Requests
- Deploying a build to Inmotionhosting server using SSH
- 503 service unavailable after VPS IP change
- Getting an error when hosting my nextjs application on CENTOS WEB PANEL using custom server
- Django hosting in cpanel with out using Setup Python App
- Does anyone know how to host my own videos on Bluehost and creating links for it, so it would loop playing on my website?
- Separate subdomains on one GitHub page
- If I make a website design using WebFlow, then export it and edit functions, links with the backend etc outside, how can I redit the design?
Related Questions in GITIGNORE
- How to ignore all files in a repository except a small list of given files?
- Is it best to declare global variables in a header file or environment file in a C project
- gitignore for Unity VR project does not work
- File in the same path, one can be git trace but others cannot
- Git adding .gitignored files from nested target, even after reset
- Extra files included in push e.g. settings.py
- how to ignore a specific subfolder in GitHub without removing the parent folder using .gitignore?
- Why do I have a bunch of untracked files in my source control, files that I didn't create or modify that are not supposed to exist in my project?
- What's the difference between **/foo and foo in a .gitignore file?
- .gitignore not ignoring files correctly
- Hide nested git repo to outer repo
- How do I override a particular extension on a .gitignore file?
- How can I ignore changes to .gitmodules file?
- exclude file in Git Template directory does not work
- Handling API Keys in Angular
Related Questions in GIT-REPO
- Cant connect to any github repository from my netbeans 20
- Git commit asks for passphrase which I don't remember
- How can I upload image files GitHub repository programmatically using GitHub PAT / API
- Make existing visual studio project as repository git (local network)
- How do I merge a specific foler from "Their" repo into "my" repo where the directories are in different directories
- Someone committed on my github repository after forking it
- In Azure Devops every-time we run a pipeline does it create a new commit or what exactly happens...?
- Identifying Directories Not Tracked by Repo Manifest in Android Project, Including Manually Cloned Git Repos
- Can I run scala script directly from git repo in databricks
- How can I update the manifest with the checked out commits/branches?
- .DS_Store "Changes not staged for commit?"
- How to relocate the git-repo urls?
- Getting error while clone the gitrepo using ssh-key
- how to scan repos in Azuredevops and filter certain files
- repo sync command, is it possible to sync only the repositories that I have permission to? I want to ignore the permission denied error
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
GitHub and Hostinger are not the same services. GitHub is a git-based code hosting platform for keeping your repository, version control, and collaboration like GitLab and BitBucket. But Hostinger is not a git platform, provides you web hosting services.
You can add .gitignore file all of your git repos (read documentation: https://git-scm.com/docs/gitignore)
If you want to hide your some files during the file transfer process from your computer to Hostinger, then .gitignore is not for your purpose. Because the .gitignore file was created for the git system and its existence is considered by git.
If you make your project a git repository and add a .gitignore file, not only GitHub, but all git platforms such as GitLab, BitBucket, or other private git platforms will already check for it.