Skip to main content

All Questions

2 votes
0 answers
173 views

How much memory does a single, cloned git repo occupy? [closed]

After using git for version control purely on my remote server, I am now looking to use git for version control across both my remote and local file system. My approach to doing this so far is to: ...
DevJoe's user avatar
  • 55
0 votes
1 answer
483 views

Automatic push from different branch using Gitlab CI/CD

Maybe this is a stupid question, but I wanted to know in practice how this is handled. Let's say what for a very simple project I have two branches on GitLab: "production" and "...
pietrus's user avatar
  • 71
0 votes
0 answers
80 views

Users change codes directly on the production server

I'm working on a project that has all its data written as python files(codes). Users with authentication could upload data through a web page, and this will directly add and change codes on the ...
janice's user avatar
  • 1
0 votes
1 answer
373 views

! [remote rejected] HEAD -> master (pre-receive hook declined) rails App on Heroku

I have an exact same code deployed on heroku app. I update the heroku stack to 18 but now as the build is required before the new stack to take place I am getting the below error. I tried all ...
Hamza Shamshad's user avatar
1 vote
1 answer
950 views

How to init git on a running production server and update from a remote repo

I just got onboard with a project that has a live server that has been running for a year without git. In the past, the owner/dev made all code updates personally without version tracking. Then he ...
Hoytman's user avatar
  • 1,792
0 votes
1 answer
61 views

How does CI deployment to AWS typically work at scale?

I am familiar with deploying a personal app to Heroku with git push and scaling it up by adding more dynos. But how do you deploy to a scaled AWS infrastructure with thousands of private instances ...
Lance's user avatar
  • 77.9k
0 votes
1 answer
181 views

Managing Two Different environments Laravel

Hello there i have two different environments one is production and one is dev and i am using laravel and git as version control the main issue between them is path of files so for example at my dev ...
RYOK's user avatar
  • 473
0 votes
1 answer
265 views

How to remove the entire git trail in a production environment after deploying code

It is strange to me that I have not found anything related to this situation, which in turn seems very usual...: I have finished a web project for one of my clients, and they have provided me with ...
andcl's user avatar
  • 3,500
-5 votes
2 answers
1k views

How do I download my live site to my local environment to set it up with Git?

I must have read from top-to-bottom more than twenty articles about Git and Wordpress in the last 24 hours, along with all the relevant questions and answers on this Stack site, but most are either ...
Hashim Aziz's user avatar
  • 5,138
2 votes
1 answer
118 views

Git Practice for Separate "Demo" site with dummy content

I am currently getting ready for my first ever release of a saas product. I am having hard time deciding whether I should keep my customer onboarding "demo" site (with some dummy content) seperate ...
eleven0's user avatar
  • 273
0 votes
1 answer
2k views

Git branching on test environment

I started working on a company that newly using git. I need a good recommendation. First, I would like to talk about current workflow. The team's workflow is pretty much different than regular git ...
alim's user avatar
  • 717
1 vote
0 answers
271 views

How to "upload" my nodejs source code to production server?

I am not asking about deploying Node.js app or how do I deal with node_modules package, I am talking about "upload" my own nodejs code to production server. So far I have tried 3 ways, each with its ...
Qiulang's user avatar
  • 11.6k
-1 votes
1 answer
439 views

Reverting previous version after deployed to prod

I have done with building an application and deployed successfully to a prod environment.I found the application faces issue and want to revert back to previous version. In Prod environment however ...
Anuradha's user avatar
1 vote
2 answers
960 views

How do I handle hard coded URL, database configuration in my product that has multiple modules in Git level?

I am working on a product that has been developed by multiple developers over the years. The product is built on PHP jQuery Angular Bootstrap The product has different modules separated by ...
Ram's user avatar
  • 19
0 votes
2 answers
73 views

Version control - how to deploy code to production machines(without Internet and with docker)?

OK this bugs me a lot: how to deploy to machines without Internet connections and using docker? The production machines don't have Internet connection due to security concerns, which is reasonable. ...
WesternGun's user avatar
  • 12.2k

15 30 50 per page