Created: December 16, 2022

Can a web application run live in production without a repository in git?

Last Edit: January 6, 2023
Get Expert Help Now Get Expert Help Now
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
Hello, thank you for using Howly. I’ll be happy to help you out! May I ask your name?
Customer Reply
*****
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
Nice to meet you, *****!
So, whether you decide to share your code with a team via a server or use it to manage your code locally, your repository looks the same. So, that's why you can use Git without GitHub: Git works as a standalone tool or with a server.
Customer Reply
Thanks
How can I write code on a local setup for an application without a repository to clone and open on local IDE?
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
The --bare flag creates a repository that doesn't have a working directory, making it impossible to edit files and commit changes in that repository.
Customer Reply
Can I explain my current situation more detailed ?
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
Yes, of course.
I will do my best to help you.
Customer Reply
So, I got access to an application server which runs in production mode. I can view the project files, and browse through them but only in terminal. Only way to see code is with vim command. The owner says that they don't have a repository of the application to give me access. How am I supposed to work and implement code without having the code on my local setup ?
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
In this case, please follow the instructions below.
Open a new or existing file with vim filename.
Type i to switch into insert mode so that you can start editing the file.
Enter or modify the text with your file.
Once you're done, press the escape key Esc to get out of insert mode and back to command mode.
Type :wq to save and exit your file.
Please, keep me posted.
Customer Reply
So this way I am writting code directly into the live application server? Isn't this bad?
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
No. This is a normal procedure according to the requirements.
Customer Reply
So i think the requirements are bad.
Isn't the right way of programming saying that you should have a version control system>
Ok, thanks for your answers
I had a good experience
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
I understand. These are the requirements of their service.
Is there anything else I can do for you today?
Customer Reply
No, thank youy
Vitalii Yovko
Vitalii Yovko Tech Expert & Writer
Thank you for chatting with us today!
We are available 24/7, you can refer your questions anytime.

No comments yet...

What about starting a discussion? Be the first to share your thoughts!

Comments

0 comment
    Write a comment
    Thank you for sharing your opinion!